Skip to content

Conversation

@matthiasweiss
Copy link
Contributor

@matthiasweiss matthiasweiss commented Feb 24, 2025

Amazing job on the new boilerplates! 🥳

In CI/CD, I usually check if the formatting is correct, rather than do the actual formatting.
This way the job fails, if files are not formatted properly.

Currently, the job would be successful, even if there are improperly formatted files.
This PR changes this to check the formatting, rather than formatting it.

What do you think?

EDIT: if this is wanted, I can also add a PR to the Vue starter kit

@tnylea
Copy link
Contributor

tnylea commented Feb 24, 2025

Hey @matthiasweiss Thanks so much.

Really appreciate the PR. I think it will be ideal to leave this the way it is. This way when users submit code, it will automatically format the code. This way it's fully automated.

Let me know if you have a strong reason against this and we'll take it into consideration.

Thanks again for the compliment and hope you have a great day. So excited to get these new starter kits out there 👍

@tnylea tnylea closed this Feb 24, 2025
@matthiasweiss
Copy link
Contributor Author

@tnylea got it!

But shouldn't it then also commit the code? The way it is set up currently, it formats, but does not commit the formatted code, i.e. the code is only formatted in the run, but not the PR. Or am I wrong here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants